package com.service.yzj.service;

import java.util.List;
import java.util.Optional;

import com.service.yzj.model.custom.CustomAddressInfo;
import com.service.yzj.model.order.OrderInfo;
import com.service.yzj.model.pages.wx.CustomPage;
import com.service.yzj.model.pages.wx.HomePage;
import com.service.yzj.model.pages.wx.SearchPage;
import com.service.yzj.model.product.ProductInfo;

public interface WxService {

  HomePage getHomePage();

  SearchPage getProductsWithKeyword(int pageNumber, int pageSize, String cityCode, String keyword);

  CustomPage getCustomerById(long userId);

  ProductInfo getProductWithId(long productId);

  OrderInfo getOrderWithUserId(long userId);

  List<CustomAddressInfo> getAllAddresses();

  Optional<CustomAddressInfo> getAddressById(Integer id);
}

